<%= error_messages_for :user %>
<% form_for :user, :url => users_path do |f| -%>

<%= render :partial => 'user', :locals => {:form => f} %>

<% end -%>
